//
//  SellerSaleDetailModel.m
//  Shengzhuli
//
//  Created by subook on 16/8/20.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "SellerSaleDetailModel.h"

@implementation SellerSaleDetailModel

- (instancetype )initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.mobilePhone = dict[@"mobilePhone"];
        self.createDate = dict[@"createDate"];
        self.productName = dict[@"productName"];
        self.orderNo = dict[@"orderNo"];
        self.amount = [dict[@"amount"] floatValue];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[SellerSaleDetailModel alloc]initWithDict:dict];
}

@end
